Creating a launcher icon with Inkscape template 2

Note: The necessary template file is available in the Nokia Icon Toolkit.

Use this template to create an icon with your own unique background, and follow the simple steps to give your graphic the correct shape, shadows, and highlights. The template contains a canvas in the correct icon size, a 56 x 56 pixel bounding box, a shape that cuts your background to achieve the perfect surround shape for Series 40 Full Touch launcher icons, and a transparent layer that applies the correct gradient and highlight to the surround background.

Inkscape preparations

Tip: When you start Inkscape, the interface does not show all palettes and dialogues you might need to create an icon. Below are some helpful shortcuts that place everything you need on the desktop.
     
Full Screen Mode   F11
Layers palette   Shift + Ctrl + L
Alignment Settings dialogue   Shift + Ctrl + A
Fill and Stroke dialogue   Shift + Ctrl + F
Swatches palette   Shift + Ctrl + W
     
You can also change the visible region of the canvas:
     
Pan in all directions   Scroll Bars (Ctrl+B)
Pan up and down   Mouse Wheel
Pan sideways   Shift + Mouse Wheel
Zoom   Ctrl + Mouse Wheel
     

Figure 1.

Start

Open the template file via the menu bar (File > Open > select file to open).

If you want to create an icon with your own individual background, you can open the Inkscape template “2_S40_FT_Launcher_Icon_Inkscape_Template_INDIVIDUAL.svg” and follow these easy steps to give your graphic the correct shape, shadows, and highlights. If you just drag the template onto an Inkscape canvas, it will not contain all of the necessary layers.

Note: You can’t copy objects from AI documents to Inkscape, but it is possible to save AI documents as SVG and open them in Inkscape.

Place your graphic

If your background image does not already contain all the necessary graphics, activate the layer PLACE YOUR BACKGROUND HERE and draw your graphic onto this layer. You can cut the graphic from another layer (Ctrl + x) or another document, and paste it onto the layer PLACE YOUR BACKGROUND HERE (Ctrl + Alt + v pastes the graphic in place). Place your glyph or logo onto the layer PLACE YOUR GRAPHIC HERE. Select File > Save as (Shift + Ctrl + S) and save the file with a new name in the directory of your choice.

Figure 2.

Scale the background

The layer with your background graphic is underneath the layer DO NOT EDIT - Cut Away Shape so that the "Cut Away Shape" applies the correct shape to your individual background. Make sure that your graphic is smaller than the canvas, but larger than the masking shape area (bigger than 50 x 50 pixels) to avoid flat, distorted edges; your final icon should be a smooth squircle shape as shown in the example. The screenshot shows a good size and placement for the background graphic.

Figure 3.

Scale your glyph

If your background image did not already contain all the necessary graphics, place your glyph in the centre of the Focal Zone (guides). Elongated elements may exceed the recommended “Focal Zone” by a few pixels. It may be necessary to temporarily group your graphic (Ctrl + g) to scale it proportionally (keep Ctrl + Shift pressed and move the handles of the graphic), but afterwards you should ungroup (Ctrl + Shift + G) the graphic again. Centre the graphic with the help of the Align and Distribute dialogue box, as shown in the screenshot.

Figure 4.

Try to attach as many vector lines and nodes/dots as possible to the pixel grid to achieve a sharp graphic in your exported PNG in the end (with as little unnecessary anti-alias effect as possible). You can use the tool “Edit path by nodes” to drag the nodes to run along the lines of the pixel grid.

Figure 5.

White glyph

If your background image did not already contain all the necessary graphics, set the colour of your glyph graphic to white in the Fill and Stroke dialogue box, as shown in the screenshot. (You can hide the document grid if you don’t need it anymore by pressing the “#” key.)

Figure 6.

Cut the background shape

Unlock the layer DO NOT EDIT - Cut Away Shape by clicking the lock icon in the Layers palette. Activate your background, then press the “Shift” key on your keyboard and also activate the shape on the layer DO NOT EDIT - Cut Away Shape. Select the Difference function from the Path menu in the top menu bar (Ctrl + -). This function will cut the surrounding area of the icon away from your background graphic.

Figure 7.

Create inner shadow

You may need to duplicate the layer DO NOT EDIT - Cut Away Shape via the menu on the Layers palette (activate layer and right-click to see the layers menu) if you need to cut several background layers into the correct shape.

Figure 8.

If you created a glyph above the background, continue reading the chapters regarding the glyph shadows. If your background image did already contain all the necessary graphics, you can now jump to the last section, "Export and save".

Activate the glyph on top of the background and copy it (Ctrl + c). Activate the layer CREATE INNER SHADOW HERE in the Layers palette, and paste the glyph shape in place (Ctrl + Alt + v) onto this layer. The new inner shadow of the glyph is now behind the glyph. You might want to lock the layer PLACE YOUR GRAPHIC HERE by clicking its lock sign in the Layers palette to make sure that you don’t accidentally activate the glyph instead of the shadow in the following steps.

Figure 9.

Set inner shadow opacity

Set the colour of the shadow to black with reduced transparency, as shown in the screenshot below (circled area at the right-hand side). Move the shadow one pixel down by subtracting one pixel from the original “Y” co-ordinates (circled area at the top of the screenshot).

Figure 10.

Apply inner shadow blur

Activate the inner shadow and make sure that it is a simple “Path” object. To create the shadow blur, the inner shadow cannot be a group of objects or a combined object. To ungroup an object, select Object > Ungroup (Shift + Ctrl + G). To break a combined object apart, select Path > Break Apart (Shift + Ctrl + K). To convert a regular shape or text object into a path, select Path > Object to Path (Shift + Ctrl + C) or Stroke to Path (Alt + Ctrl + C). Activate only one object of the inner shadow, and select Inset/Outset Halo from the Extensions > Generate from Path menu. When you insert the data shown in the screenshot below, and then click Apply, Inkscape creates several transparent shadow layers that create the illusion of a blurred shadow.

Note: If the inner shadow is not a single object with an editable path, the function Inset/Outset Halo does not work.

Figure 11.

Figure 12.

Amend original shadow

Keep the original shadow layer activated and set its opacity to 8, as shown in the screenshot, to finalise the inner shadow. If you can’t activate the original inner shadow below the shadow blur, you can change the order of objects by activating the blur shadow, selecting the “Objects” function from the top menu bar, and reordering the objects by choosing Lower to Bottom. This will move the shadow blur behind the original inner shadow, so that you can easily activate the inner shadow to amend its opacity in the Fill and Stroke dialogue box.

Figure 13.

Figure 14.

Export and save

The icon is now ready, and you can export it as PNG via the File > Export Bitmap (Shift + Ctrl + E) option. Set the Export area to Page and select Browse to define the saving directory and the name of your Series 40 full touch launcher icon. Click Export and close the Export Bitmap dialogue. You should also save the Inkscape SVG in case you want to edit the icon later on.

Note: The final PNG icon size should not excess 30 kb. If your launcher icon is bigger, delete unnecessary details and anchor points/nodes.

Figure 15.